#ifndef OBJ_WINDOW_H
#define OBJ_WINDOW_H

#define WIN_OVER 1
#define WIN_PRESSED 2
#include "obj.h"

using namespace std;

class obj_window : public obj {
	private:
		int pressed,npressed;
	public:
		virtual int load(const char *);
		virtual void draw();
		virtual void update();

		int textures_num, children_num;
		float w,h;
		int clicked;

		vector<GLuint> textures;
		vector<obj_window *> children;
		
		obj_window * parent;
};

#endif
